#ifndef TOUCH_LIST_H
#define TOUCH_LIST_H

// Each "LINK" of the Linked List
typedef struct s_tasks {
  int sh;   // Starting height
  int sw;   // Starting width
  int eh;   // Ending height
  int ew;   // Ending width
  
  struct s_tasks* next; // The pointer to the next task
} task_list;

// Create a task list
task_list* create_task_list (int sh, int sw, int eh, int ew);

// Delete the entire task list
void delete_task_list (task_list* old_task_list);

// Add a word to the task list
task_list* add_task (task_list* tasks, int sh, int sw, int eh, int ew);

void get_array (task_list* tasks, int* arr);
  

#endif
